package com.woniu.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author jiang
 */
@Data
@ApiModel(value = "更新订单参数")
public class UpdateOrderForm {
    @ApiModelProperty(value = "订单编号")
    @NotNull(message = "订单编号不能为空")
    @Min(value = 1, message = "订单编号不能小于1")
    private String orderId;
}
